package com.losdun.weixin.common;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description
 * @Author Sword.Ye
 * @Date 2025/9/23
 **/
public class WxConstants {
    /**
     * 小程序
     */
    public static final Integer WX_USER_TYPE_MINI = 1;
    /**
     * 公众号
     */
    public static final Integer WX_USER_TYPE_MP = 2;

    /**
     * 订单状态订阅消息ID ——用户订阅订单状态
     */
    public static final String SUBSCRIBE_MSG_ID_ORDER_STATUS="84G5hju0DwrR8fSSP71t-RjOe2YuiDMKlU3YTal1q1o";

    /**
     * 预约成功订阅消息ID --用户预约成功
     */
    public static final String SUBSCRIBE_MSG_ID_BOOK_SUCCESS="8bIoOorjtXkyEcn9u_SIwjRhqlx-XslwdwNZztKbF8U";
    /**
     * 积分兑换成功订阅消息ID --用户积分兑换成功
     */
    public static final String SUBSCRIBE_MSG_ID_POINTS_SUCCESS="GgynMX_E1pyxwQl9ibZsYxFu9zgsHtCtzFrGcKp0MBQ";

    /**
     * 服务进度变更订阅消息ID --用户服务进度变更
     */
    public static final String SUBSCRIBE_MSG_ID_SERVICE_STATUS="05v-TDeBdzabOemB54chhEFBdbkYmQg9339GNWhCzrs";
    /**
     * 服务评价订阅消息ID --用户服务评价
     */
    public static final String SUBSCRIBE_MSG_ID_SERVICE_COMMENT="T6q0AZUd8xXtevR1bUGj9U8cH7hZSqcAwmcVFmbU-VE";

    /**
     * 服务工单订阅消息ID --指派师傅成功，工单通知师傅
     */
    public static final String SUBSCRIBE_MSG_ID_MASTER_WORK_ORDER="0NnmbptbT_jPq0L6iSrw9YBN2bDAxmpGWFcu_qBgieQ";



    public static Map<String,String> getAllSubscribeMsgId(){
        Map<String,String> map = new HashMap<>();
        map.put("SUBSCRIBE_MSG_ID_ORDER_STATUS",SUBSCRIBE_MSG_ID_ORDER_STATUS);
        map.put("SUBSCRIBE_MSG_ID_BOOK_SUCCESS",SUBSCRIBE_MSG_ID_BOOK_SUCCESS);
        map.put("SUBSCRIBE_MSG_ID_POINTS_SUCCESS",SUBSCRIBE_MSG_ID_POINTS_SUCCESS);
        map.put("SUBSCRIBE_MSG_ID_SERVICE_STATUS",SUBSCRIBE_MSG_ID_SERVICE_STATUS);
        map.put("SUBSCRIBE_MSG_ID_SERVICE_COMMENT",SUBSCRIBE_MSG_ID_SERVICE_COMMENT);
        map.put("SUBSCRIBE_MSG_ID_MASTER_WORK_ORDER",SUBSCRIBE_MSG_ID_MASTER_WORK_ORDER);
        return map;
    }
}
